package cn.yanjr.common.leancloud;

import org.apache.log4j.Logger;

import cn.leancloud.AVLogger;
import cn.leancloud.core.AVOSCloud;

public class AppLeanCloud {
	private static final Logger logger = Logger.getLogger(AppLeanCloud.class);
	
	public static String appId = "1dOWl350K2orN5Um9uv62EVP-gzGzoHsz";
	public static String appKey = "aX6ouJk4tQudF6F9FdOI5jYH";
	  
	public static void initialized() {
		logger.info("LeanEngine app init.");
	    // 打开 debug 日志
	    AVOSCloud.setLogLevel(AVLogger.Level.DEBUG);
	    AVOSCloud.initialize(appId, appKey);
		
	}
	

}
